package com.kgc.easyshopping.service.Impl;

import com.kgc.easyshopping.dao.CategoryMapper;
import com.kgc.easyshopping.entity.Category;
import com.kgc.easyshopping.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CategoryMapperServiceImpl implements CategoryService {
    @Autowired
    private CategoryMapper cm;

    @Override
    public int deleteByPrimaryKey(Integer cid) {
        return 0;
    }

    @Override
    public int insert(Category record) {
        return 0;
    }

    @Override
    public int insertSelective(Category record) {
        return 0;
    }

    @Override
    public Category selectByPrimaryKey(Integer cid) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Category record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Category record) {
        return 0;
    }

    @Override
    public List<Category> getList(Integer parentId, Integer type) {
        return cm.getList(parentId,type);
    }
}
